StoreKeeper\WooCommerce\B2C\Exports\OrderExport D

Total Complexity 172
Dependencies 21
Dependents 9
Total lines 1,265
Lines of code 912
Logical lines of code 482
Comment lines 131
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
processItem()
D
20
34 235
getOrderItems()
B
31 16 126
checkOrderDifference()
A
48 9 31
checkOrderDifferenceByExtra()
A
44 8 44
processPayments()
A
47 8 37
convertWooCommerceToStorekeeperOrderStatus()
A
58 8 18
doProcessRefundsWithoutIds()
S
42 5 59
processRefunds()
S
50 6 30
addDataToOrderItems()
S
51 6 27
compareExtras()
S
53 6 23
shouldUpdateStatus()
S
57 6 19
removeSkippedItemsByName()
S
59 6 14
getProductForOrderLine()
S
52 5 25
checkOrderDifferenceBySet()
S
52 5 25
getShippingOrderItems()
S
52 4 24
newSkPaymentForWcPayment()
S
54 4 19
syncPaymentToBackend()
S
57 4 17
getPaymentForRefund()
S
61 4 13
calculateRowMd5()
S
60 4 13
fetchShopProductId()
S
59 3 16
cleanExtras()
S
65 4 9
getStorekeeperIdBySku()
S
56 2 20
splitStreetNumber()
S
63 2 12
convertKnownGeneralException()
S
63 2 10
getStoreKeeperIdFromMeta()
S
72 2 6
getOrderLineMeta()
S
65 2 9
processPaymentsAndRefunds()
S
68 1 7
getFunctionMultiple()
S
82 1 3
isAlreadyLinkedError()
S
78 1 3
filterExtrasByRowExtraType()
S
72 1 5
getArguments()
S
68 1 7
getMetaFunction()
S
82 1 3
getFunction()
S
82 1 3